/*
 * Created on Feb 3, 2011 by Eng. Julian Rousselot
 *  
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

package main;

import java.awt.*;
import java.applet.*;

public class graph_ex extends Applet
{
  public void paint (Graphics g)
  {  setBackground(Color.cyan);
     g.drawString("Here are a selection of blank shapes.",20,40);
     g.drawLine(20,40,200,40);
     g.setColor(Color.blue);
     g.drawLine(20,50,70,90);
     g.setColor(Color.red);
     g.drawRect(100,50,32,55);
     g.setColor(Color.green);
     g.drawOval(150,46,60,60);
     g.setColor(Color.magenta);
     g.drawArc(230,50,65,50,30,270);
     g.setColor(Color.black);
     g.drawString("Here are the filled equivalents.",20,140);
     g.drawLine(20,140,200,140);
     g.setColor(Color.yellow);
     g.fillRect(100,150,32,55);
     g.setColor(Color.pink);
     g.fillOval(150,146,60,60);
     g.setColor(Color.darkGray);
     g.fillArc(230,150,65,50,30,270);
  }
  
}